﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="NewFolder.aspx.cs" Inherits="SVN.Net.Views.Editor.NewFolder" %>
<asp:Content ID="newfolderContent" ContentPlaceHolderID="MainContent" runat="server">
<form action="/Editor/CreateFolder" method="post">
    <table width="100%">
        <tr>
            <td colspan="2">
                <%= Html.ValidationSummary() %>
            </td>
        </tr>
        <tr>
            <td width="10%"><b>Repo Information:</b></td>
            <td><%= Html.TextBox("repo", (string)ViewData["repo"] ?? string.Empty, new { @readonly = "readonly" })%></td>
        </tr>
        <tr valign="top">
            <td width="10%"><b>Folder Name:</b></td>
            <td>
                <%= Html.TextBox("folderName", (string)ViewData["folderName"] ?? string.Empty)%>
                <%= Html.ValidationMessage("folderName", "*") %>
            </td>
        </tr>
        <tr valign="top">
            <td width="10%"><b>Message:</b></td>
            <td>
                <%= Html.TextArea("message", (string)ViewData["message"] ?? string.Empty)%><br />
                <i>Optional. If not SVN.Net will utilize the common meesage here.</i>
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr>
            <td width="10%"><%= Html.SubmitButton("CreateFolder", "OK") %></td>
            <td width="10%"><%= Html.SubmitButton("Cancel", "Cancel") %></td>
            <td></td>
        </tr>
    </table>
</form>
</asp:Content>
